<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@page import="org.edu.system.LogWriter" %>
<!DOCTYPE html>
<html>
<head>
<link href="./bootstrap/css/bootstrap.min.css" rel="stylesheet">
<meta charset="utf-8">
<title>插入课程</title>
</head>
<body>
<br><br>
<center>
<% 
	request.setCharacterEncoding("utf-8");
%>
<form action="<%=request.getContextPath()%>/addCourse" method="post">
<table width="80%" style="border-collapse:separate; border-spacing:10px;text-align:left">
	<tr>
		<td valign="top" align="right">&nbsp;&nbsp;&nbsp;&nbsp;课程ID：</td>
		<td><input text="text" name="id" autocomplete="off"/></td>
	</tr>
	<tr>
		<td valign="top" align="right">课程名称：</td>
		<td><input text="text" name="name" autocomplete="off"/></td>
	</tr>
	<tr>
		<td valign="top" align="right">课程简介：</td>
		<td><textarea rows="10" cols="70" name="intro"></textarea>
	</tr>
	<tr>
		<td valign="top" align="right">课程学分：</td>
		<td><input text="text" name="credit" autocomplete="off"/></textarea></td>
	</tr>
</table>
	<br>
	<input type="submit" class="btn btn-primary" value="添加课程"/>
	</form>
</center>
</body>
</html>